<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>上传文件</title>
	</head>
<script type="text/javascript" src="js/jquery-1.12.4.js"></script>
<script>
	$(function(){
		$("#d3").click(function()
	{
		var newEle=$("#d1 div:first-child").clone();
		newEle.children().val(null);
		$("#d1").append(newEle);
	});
	});
	
</script>
	<body>
		<div id="d1">
			<div>文件路径：
				<input type="file"/>
			</div>
		</div>
		<input type="button" value="再上传一个文件" id="d3"/>
	</body>
</html>
<!DOCTYPE html>